package com.apex.wx.service;

import com.apex.security.api.entity.Pager;
import org.springframework.ui.ModelMap;

import javax.servlet.http.HttpServletRequest;

/**
 * Create by IntelliJ IDEA
 * 用户：王建
 * 日期：2018-4-8
 * 刷新用户token，
 * 删除用户token
 */
public interface ScheduleCenterService {
    /**
     * 个人中心用户界面
     * @param modelMap
     * @param userID
     */
    void index(ModelMap modelMap, String userID);

    void wxIndex(ModelMap modelMap,String userId);

    void userAllDb(ModelMap modelMap, String userID, String title, Pager pager);

    void userAllYb(ModelMap modelMap, String userID, String title, Pager pager);

    /**
     * 发文列表
     * @param modelMap
     * @param userID
     * @param title
     * @param pager
     */
    void userAllDispatch(ModelMap modelMap,String userID,String title,Pager pager);

    void userAllDispatch(ModelMap modelMap,Pager pager);

    void userDispatch(ModelMap modelMap,String userID,Long id);

    void userDispatch(ModelMap modelMap,Long id);

    /**
     * 讲座列表
     * @param modelMap
     * @param userId
     * @param title
     * @param pager
     */
    void userAllLecture(ModelMap modelMap,String userId,String title,Pager pager);

    void userLecture(ModelMap modelMap,String userID,Long id);

    void userAllApplication(String userId,ModelMap modelMap,String title,Pager pager,boolean normal);

    String userAllApplication(String userid,String title,int content);

    String userSummary(String userid);

    String allNotice();

    String userAllLecture(String userId,Pager pager,String title,int content);

    String userAllDb(String userID,String title,int content);

    String userAllYb(String userID,String title,int content);

    String userDispatch(String userID,String title,int content);

    void books(String userId,ModelMap modelMap);

    void miscellaneous(String userId,ModelMap modelMap);

    void assets(ModelMap modelMap,String userId,Pager pager);

    void newsEntity(HttpServletRequest request, ModelMap modelMap, String userId);
}
